import http from '@/common/interface'
//获取可用的优惠券列表
export function getYhqList(data){
	return http.request({
		url: '/coupon/getUseSendCouponList',
		method: 'get',
		data
	})
}
//领取优惠券动作
export function lqYhq(data){
	return http.request({
		url: '/coupon/getCouponRecord',
		method: 'post',
		data
	})
}
//获取我领取的优惠券
export function getMyYhqList(data){
	return http.request({
		url: '/coupon/getMyCouponList',
		method: 'get',
		data
	})
}
//获取可用/不可用优惠券列表
export function getMyActCouponList(data){
	return http.request({
		url: '/coupon/getMyActCouponList',
		method: 'get',
		data
	})
}